<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Eigen: Eigen::CwiseTernaryOp&lt; TernaryOp, Arg1Type, Arg2Type, Arg3Type &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="eigendoxy.css" rel="stylesheet" type="text/css">
<!--  -->
<script type="text/javascript" src="eigen_navtree_hacks.js"></script>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Eigen_Silly_Professor_64x64.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname"><a href="http://eigen.tuxfamily.org">Eigen</a>
   &#160;<span id="projectnumber">3.4.90 (git rev 67eeba6e720c5745abc77ae6c92ce0a44aa7b7ae)</span>
   </div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.svg"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classEigen_1_1CwiseTernaryOp.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="classEigen_1_1CwiseTernaryOp-members.html">List of all members</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">Eigen::CwiseTernaryOp&lt; TernaryOp, Arg1Type, Arg2Type, Arg3Type &gt; Class Template Reference<div class="ingroups"><a class="el" href="group__DenseMatrixManipulation__chapter.html">Dense matrix and array manipulation</a> &raquo; <a class="el" href="group__DenseMatrixManipulation__Reference.html">Reference</a> &raquo; <a class="el" href="group__Core__Module.html">Core module</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename TernaryOp, typename Arg1Type, typename Arg2Type, typename Arg3Type&gt;<br />
class Eigen::CwiseTernaryOp&lt; TernaryOp, Arg1Type, Arg2Type, Arg3Type &gt;</h3>

<p>Generic expression where a coefficient-wise ternary operator is applied to two expressions. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">TernaryOp</td><td>template functor implementing the operator </td></tr>
    <tr><td class="paramname">Arg1Type</td><td>the type of the first argument </td></tr>
    <tr><td class="paramname">Arg2Type</td><td>the type of the second argument </td></tr>
    <tr><td class="paramname">Arg3Type</td><td>the type of the third argument</td></tr>
  </table>
  </dd>
</dl>
<p>This class represents an expression where a coefficient-wise ternary operator is applied to three expressions. It is the return type of ternary operators, by which we mean only those ternary operators where all three arguments are <a class="el" href="namespaceEigen.html" title="Namespace containing all symbols from the Eigen library.">Eigen</a> expressions. For example, the return type of betainc(matrix1, matrix2, matrix3) is a <a class="el" href="classEigen_1_1CwiseTernaryOp.html" title="Generic expression where a coefficient-wise ternary operator is applied to two expressions.">CwiseTernaryOp</a>.</p>
<p>Most of the time, this is the only way that it is used, so you typically don't have to name <a class="el" href="classEigen_1_1CwiseTernaryOp.html" title="Generic expression where a coefficient-wise ternary operator is applied to two expressions.">CwiseTernaryOp</a> types explicitly.</p>
<dl class="section see"><dt>See also</dt><dd>MatrixBase::ternaryExpr(const MatrixBase&lt;Argument2&gt; &amp;, const MatrixBase&lt;Argument3&gt; &amp;, const CustomTernaryOp &amp;) const, class <a class="el" href="classEigen_1_1CwiseBinaryOp.html" title="Generic expression where a coefficient-wise binary operator is applied to two expressions.">CwiseBinaryOp</a>, class <a class="el" href="classEigen_1_1CwiseUnaryOp.html" title="Generic expression where a coefficient-wise unary operator is applied to an expression.">CwiseUnaryOp</a>, class <a class="el" href="classEigen_1_1CwiseNullaryOp.html" title="Generic expression of a matrix where all coefficients are defined by a functor.">CwiseNullaryOp</a> </dd></dl>
</div>
<p>Inherits Eigen::CwiseTernaryOpImpl&lt; TernaryOp, Arg1Type, Arg2Type, Arg3Type, internal::traits&lt; Arg1Type &gt;::StorageKind &gt;, and Eigen::internal::no_assignment_operator.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7bee044eae98d3aead7efb2bbb82a9d3"><td class="memItemLeft" align="right" valign="top">const Arg1Nested_ &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1CwiseTernaryOp.html#a7bee044eae98d3aead7efb2bbb82a9d3">arg1</a> () const</td></tr>
<tr class="separator:a7bee044eae98d3aead7efb2bbb82a9d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada9b51d2e4a24e85c6bb59ebdff98458"><td class="memItemLeft" align="right" valign="top">const Arg2Nested_ &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1CwiseTernaryOp.html#ada9b51d2e4a24e85c6bb59ebdff98458">arg2</a> () const</td></tr>
<tr class="separator:ada9b51d2e4a24e85c6bb59ebdff98458"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d856ed501c1ac458bf60e7862d55321"><td class="memItemLeft" align="right" valign="top">const Arg3Nested_ &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1CwiseTernaryOp.html#a1d856ed501c1ac458bf60e7862d55321">arg3</a> () const</td></tr>
<tr class="separator:a1d856ed501c1ac458bf60e7862d55321"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9009f896ee1103c8f28a748e59f12b9a"><td class="memItemLeft" align="right" valign="top">const TernaryOp &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1CwiseTernaryOp.html#a9009f896ee1103c8f28a748e59f12b9a">functor</a> () const</td></tr>
<tr class="separator:a9009f896ee1103c8f28a748e59f12b9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a7bee044eae98d3aead7efb2bbb82a9d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7bee044eae98d3aead7efb2bbb82a9d3">&#9670;&nbsp;</a></span>arg1()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TernaryOp , typename Arg1Type , typename Arg2Type , typename Arg3Type &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const Arg1Nested_&amp; <a class="el" href="classEigen_1_1CwiseTernaryOp.html">Eigen::CwiseTernaryOp</a>&lt; TernaryOp, Arg1Type, Arg2Type, Arg3Type &gt;::arg1 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the first argument nested expression </dd></dl>

</div>
</div>
<a id="ada9b51d2e4a24e85c6bb59ebdff98458"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ada9b51d2e4a24e85c6bb59ebdff98458">&#9670;&nbsp;</a></span>arg2()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TernaryOp , typename Arg1Type , typename Arg2Type , typename Arg3Type &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const Arg2Nested_&amp; <a class="el" href="classEigen_1_1CwiseTernaryOp.html">Eigen::CwiseTernaryOp</a>&lt; TernaryOp, Arg1Type, Arg2Type, Arg3Type &gt;::arg2 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the first argument nested expression </dd></dl>

</div>
</div>
<a id="a1d856ed501c1ac458bf60e7862d55321"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d856ed501c1ac458bf60e7862d55321">&#9670;&nbsp;</a></span>arg3()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TernaryOp , typename Arg1Type , typename Arg2Type , typename Arg3Type &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const Arg3Nested_&amp; <a class="el" href="classEigen_1_1CwiseTernaryOp.html">Eigen::CwiseTernaryOp</a>&lt; TernaryOp, Arg1Type, Arg2Type, Arg3Type &gt;::arg3 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the third argument nested expression </dd></dl>

</div>
</div>
<a id="a9009f896ee1103c8f28a748e59f12b9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9009f896ee1103c8f28a748e59f12b9a">&#9670;&nbsp;</a></span>functor()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TernaryOp , typename Arg1Type , typename Arg2Type , typename Arg3Type &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const TernaryOp&amp; <a class="el" href="classEigen_1_1CwiseTernaryOp.html">Eigen::CwiseTernaryOp</a>&lt; TernaryOp, Arg1Type, Arg2Type, Arg3Type &gt;::functor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the functor representing the ternary operation </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="CwiseTernaryOp_8h_source.html">CwiseTernaryOp.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespaceEigen.html">Eigen</a></li><li class="navelem"><a class="el" href="classEigen_1_1CwiseTernaryOp.html">CwiseTernaryOp</a></li>
    <li class="footer">Generated on Thu Apr 21 2022 13:07:55 for Eigen by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
